﻿// <copyright file="DesignerProperties.cs" company="Ucaya">
// </copyright>
// <author>Ucaya</author>

namespace KinectExtensions
{
    #region

    using System.Windows;

    #endregion

    public class DesignerProperties
    {
        #region Public Properties

        public static bool IsInDesignTool
        {
            get
            {
                return Application.Current == null || (Application.Current.MainWindow != null && System.ComponentModel.DesignerProperties.GetIsInDesignMode(Application.Current.MainWindow));
            }
        }

        #endregion
    }
}